package cst.a703xmq.zyfypt_703xmq.Service;

import java.util.List;

import cst.a703xmq.zyfypt_703xmq.Bean.ArticleBean;
import cst.a703xmq.zyfypt_703xmq.Bean.CollectBean;
import cst.a703xmq.zyfypt_703xmq.Bean.FocusResult;
import cst.a703xmq.zyfypt_703xmq.Bean.ProjectBean;
import cst.a703xmq.zyfypt_703xmq.Bean.SVideoBean;
import cst.a703xmq.zyfypt_703xmq.Bean.TcaseBean;
import cst.a703xmq.zyfypt_703xmq.Bean.TwareBean;
import cst.a703xmq.zyfypt_703xmq.Bean.UserBean;
import cst.a703xmq.zyfypt_703xmq.Bean.VideoBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by bboy knowns on 2017/6/13.
 */

public interface FocusListService {

    @GET( "api.php/listmyfocus/mod/{mod}focus")
    Call<List<FocusResult<UserBean>>> getFocusUserList(@Path( "mod") String mod,
                                                       @Query( "page") int page,
                                                       @Header( "SessionID")String sessionID);


    @GET("api.php/lists/mod/{mod}")
    Call<List<ArticleBean>> getArticleList(@Path("mod")String  mod,
                                           @Query("page")  int  page,
                                           @Header("SessionID") String sessionID,
                                           @Query("userid") int userid);

    @GET("api.php/lists/mod/{mod}")
    Call<List<TwareBean>> getTwareList(@Path("mod")String  mod,
                                           @Query("page")  int  page,
                                           @Header("SessionID") String sessionID,
                                           @Query("userid") int userid);

    @GET("api.php/lists/mod/{mod}")
    Call<List<VideoBean>> getVideoList(@Path("mod")String  mod,
                                       @Query("page")  int  page,
                                       @Header("SessionID") String sessionID,
                                       @Query("userid") int userid);

    @GET("api.php/lists/mod/{mod}")
    Call<List<SVideoBean>> getSVideoList(@Path("mod")String  mod,
                                        @Query("page")  int  page,
                                        @Header("SessionID") String sessionID,
                                        @Query("userid") int userid);

    @GET("api.php/lists/mod/{mod}")
    Call<List<TcaseBean>> getTcaseList(@Path("mod")String  mod,
                                       @Query("page")  int  page,
                                       @Header("SessionID") String sessionID,
                                       @Query("userid") int userid);

    @GET("api.php/lists/mod/{mod}")
    Call<List<ProjectBean>> getProjectList(@Path("mod")String  mod,
                                       @Query("page")  int  page,
                                       @Header("SessionID") String sessionID,
                                       @Query("userid") int userid);

}
